package com.jihui.feign.enterprise;

import com.jihui.enterprise.AbcEnterprise;
import org.jetbrains.annotations.Nullable;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.actuate.metrics.CounterService;
import org.springframework.stereotype.Component;

/**
 * 红包熔断实现
 *
 * @author 王进
 * @since 2017-08-23 09:46
 **/
@Component
public class EnterpriseHystrix implements EnterpriseClientStart {
    @Autowired
    CounterService counterService;


    @Nullable
    @Override
    public AbcEnterprise findByUserId(String userId) {
        return null;
    }
}
